package org.zk.entity;





import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alicelonely
 * @since 2019-12-11
 */
public class Cart implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 购物车id
     */

    private Integer cartId;
    /**
     * 用户id
     */

    private User user;
    /**
     * 课程id
     */

    private Course course;
    /**
     * 加购时间
     */

    private  String cartTime;
    /**
     * 价格
     */
    private Double cartPrice;


    /**
     * 状态（0未付，1已提，2已销）
     */

    private String cartStatus;


    public Integer getCartId() {
        return cartId;
    }

    public void setCartId(Integer cartId) {
        this.cartId = cartId;
    }



    public  String getCartTime() {
        return cartTime;
    }

    public void setCartTime( String cartTime) {
        this.cartTime = cartTime;
    }

    public Double getCartPrice() {
        return cartPrice;
    }

    public void setCartPrice(Double cartPrice) {
        this.cartPrice = cartPrice;
    }

    public String getCartStatus() {
        return cartStatus;
    }

    public void setCartStatus(String cartStatus) {
        this.cartStatus = cartStatus;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }
}
